import request from '@/utils/request'
// 查询罚款列表
// export function listFine(query) {
//     return request({
//         url: '/user/penalty/penaltyList',
//         // url: '/user/penalty/list',
//         method: 'get',
//         params: query
//         // data


//     })
// }

export function searchFine(data) {
    return request({
        url: '/user/penalty/searchList',
        // url: '/user/penalty/list',
        method: 'get',
        params: data
        // data
    })
}
// 删除接口
export function delFine(data) {
    return request({
        url: '/user/penalty/remove',
        method: 'post',
        data
    });
}

//编辑请求
export function editFine(data) {
    return request({

        url: '/user/penalty/edit',
        method: 'post',
        data
    });
}
